package com.treeroot.treenet.common.constant;

/**
 * Create By TreeRoot
 * Create Time: 2023/12/18 03:32
 * Class Name: Constants
 * Description:
 * 通用常量信息
 * @author TreeRoot
 */
public class Constants {
    //------------------------------------------------------协议使用到到常量------------------------------------------------------
    /**
     * 空格
     */
    public static final String SPACE = " ";
    /**
     * 回车
     */
    public static final String ENTER = "\r";
    /**
     * 换行
     */
    public static final String NEWLINE = "\n";

    /**
     * 冒号
     */
    public static final String COLON = ":";
    /**
     * GET请求方法值
     */
    public static final String GET = "GET";
    /**
     * POST请求方法值
     */
    public static final String POST = "POST";
    /**
     * PUT请求方法值
     */
    public static final String PUT = "PUT";
    /**
     * DELETE请求方法值
     */
    public static final String DELETE = "DELETE";
    /**
     * HTTP协议版本
     */
    public static final String HTTP_VERSION = "HTTP/1.1";
    //------------------------------------------------------协议使用到到常量------------------------------------------------------

    public static final char ROOT_URL = 47;


    /**
     * UTF-8 字符集
     */
    public static final String UTF8 = "UTF-8";

    /**
     * GBK 字符集
     */
    public static final String GBK = "GBK";

    /**
     * http请求
     */
    public static final String HTTP = "http://";

    /**
     * https请求
     */
    public static final String HTTPS = "https://";


    public static final String EMPTY = "";


}